package me.jessyan.mvparms.demo.mvp.presenter.login;

import android.app.Application;

import com.jess.arms.integration.AppManager;
import com.jess.arms.di.scope.ActivityScope;
import com.jess.arms.mvp.BasePresenter;
import com.jess.arms.http.imageloader.ImageLoader;

import me.jessyan.rxerrorhandler.core.RxErrorHandler;

import javax.inject.Inject;

import me.jessyan.mvparms.demo.mvp.contract.login.FindPassAndBindSetContract;


@ActivityScope
public class FindPassAndBindSetPresenter extends BasePresenter<FindPassAndBindSetContract.Model, FindPassAndBindSetContract.View> {
    @Inject
    RxErrorHandler mErrorHandler;
    @Inject
    Application mApplication;
    @Inject
    ImageLoader mImageLoader;
    @Inject
    AppManager mAppManager;
    //三种页面
    public static final int FIND_PASSWORD=0;
    public  static final  int VERIFY =1;
    public  static final int SET=2;

    public int PAGE_TYPE=-1;



    @Inject
    public FindPassAndBindSetPresenter(FindPassAndBindSetContract.Model model, FindPassAndBindSetContract.View rootView) {
        super(model, rootView);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        this.mErrorHandler = null;
        this.mAppManager = null;
        this.mImageLoader = null;
        this.mApplication = null;
    }
}
